package com.fancy.learncenter.bean;

import java.util.List;

/**
 * Created by hyy on 2018/4/24.
 */

public class StudentWorkAnsDataBean {

    /**
     * rightRate : 0%
     * result : [{"answerResources":[{"questionResourceId":"11448","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-1.png"}],"questionId":"957797782522036225","questionState":"1","studentHomeworkDoneDetailId":"981071814648262658"},{"answerResources":[{"questionResourceId":"11456","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-8.png"}],"questionId":"957797805162889218","questionState":"0","studentHomeworkDoneDetailId":"981071928590725122"},{"answerResources":[{"questionResourceId":"11461","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-1.png"}],"questionId":"957797813098512385","questionState":"0","studentHomeworkDoneDetailId":"981072108924825601"},{"answerResources":[{"questionResourceId":"11463","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-8.png"}],"questionId":"957797819448688642","questionState":"0","studentHomeworkDoneDetailId":"981072979389706241"},{"answerResources":[{"questionResourceId":"11468","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-10.png"}],"questionId":"957797825899528194","questionState":"0","studentHomeworkDoneDetailId":"981072992262025218"},{"answerResources":[{"questionResourceId":"11966","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-23-1-1.png"}],"questionId":"957799495647813633","questionState":"0","studentHomeworkDoneDetailId":"981072445177982977"},{"answerResources":[{"questionResourceId":"11969","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-23-2-1.png"}],"questionId":"957799500395765762","questionState":"0","studentHomeworkDoneDetailId":"981073442902241282"},{"answerResources":[{"questionResourceId":"11972","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-23-6-1.png"}],"questionId":"957799506951462914","questionState":"1","studentHomeworkDoneDetailId":"981073480873275393"},{"answerResources":[{"questionResourceId":"11976","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-23-7-2.png"}],"questionId":"957799511422590978","questionState":"0","studentHomeworkDoneDetailId":"981073495008079874"}]
     */

    private String rightRate;
    private java.util.List<ResultBean> result;

    public String getRightRate() {
        return rightRate;
    }

    public void setRightRate(String rightRate) {
        this.rightRate = rightRate;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * answerResources : [{"questionResourceId":"11448","resourceType":"1","resourceValue":"http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-1.png"}]
         * questionId : 957797782522036225
         * questionState : 1 (0, 错误  1，正确)
         * studentHomeworkDoneDetailId : 981071814648262658
         */

        private long questionId;
        private String questionState;
        private String studentHomeworkDoneDetailId;
        private java.util.List<AnswerResourcesBean> answerResources;

        public long getQuestionId() {
            return questionId;
        }

        public void setQuestionId(long questionId) {
            this.questionId = questionId;
        }

        public String getQuestionState() {
            return questionState;
        }

        public void setQuestionState(String questionState) {
            this.questionState = questionState;
        }

        public String getStudentHomeworkDoneDetailId() {
            return studentHomeworkDoneDetailId;
        }

        public void setStudentHomeworkDoneDetailId(String studentHomeworkDoneDetailId) {
            this.studentHomeworkDoneDetailId = studentHomeworkDoneDetailId;
        }

        public List<AnswerResourcesBean> getAnswerResources() {
            return answerResources;
        }

        public void setAnswerResources(List<AnswerResourcesBean> answerResources) {
            this.answerResources = answerResources;
        }

        public static class AnswerResourcesBean {
            /**
             * questionResourceId : 11448
             * resourceType : 1(1,图片地址。0，文本)
             * resourceValue : http://img1.fancyedu.com/dev/questiontest/ow1/unit1/image/1-1.png
             */

            private String questionResourceId;
            private String resourceType;
            private String resourceValue;

            public String getQuestionResourceId() {
                return questionResourceId;
            }

            public void setQuestionResourceId(String questionResourceId) {
                this.questionResourceId = questionResourceId;
            }

            public String getResourceType() {
                return resourceType;
            }

            public void setResourceType(String resourceType) {
                this.resourceType = resourceType;
            }

            public String getResourceValue() {
                return resourceValue;
            }

            public void setResourceValue(String resourceValue) {
                this.resourceValue = resourceValue;
            }
        }
    }
}
